package com.engine4cloud.tdf.supervision.dto.result;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 矫正对象奖惩信息
 *
 * @author wenjie
 * @date 2024-05-09 15:53:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "矫正对象奖惩信息")
public class KhjcRewardPunishmentResultDTO extends CreateTimeResultDTO {
    /**
     * 奖惩类别
     */
    @Schema(description = "奖惩类别", example = "[\"02\",\"0201\"]")
    @NotEmpty(message = "奖惩类别不能为空")
    List<String> categoryList;
    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;
    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号")
    private String rybh;
    /**
     * 流程编号
     */
    @Schema(description = "流程编号")
    private String lcbh;
    /**
     * 奖惩类别
     */
    @Schema(description = "奖惩类别")
    private String jclb;
    /**
     * 奖惩类别
     */
    @Schema(description = "奖惩类别名称")
    private String jclbmc;
    /**
     * 奖惩时间
     */
    @Schema(description = "奖惩时间")
    private LocalDateTime jcsj;
    /**
     * 奖惩原因
     */
    @Schema(description = "奖惩原因")
    private String jcyy;
    /**
     * 奖惩原因
     */
    @Schema(description = "奖惩原因名称")
    private String jcyymc;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;
    /**
     * 奖惩法律文书
     */
    @Schema(description = "奖惩法律文书", example = "[{\"name\": \"张三****.doc\",\"url\": \"/users/张三****.doc\"}]")
    private List<JzdxFileResultDTO> instrumentList;

}